import request from '@/utils/request'

export function login(param) {
	return request({
		url: process.env.VUE_APP_ADMIN_API + '/auth/login',
		method: 'post',
		data: param
	})
}

export function getMenu() {
	return request({
		url: process.env.VUE_APP_ADMIN_API + '/auth/getMenu',
		method: 'get'
	})
}